package org.hy.demo.design;

/**
 *  饿汉模式(线程安全)
 *
 *
 */
public class Singleton_03 {

    public static Singleton_03 getInstance = new Singleton_03();

    private Singleton_03() {

    }

    public static Singleton_03 getInstance() {
        return getInstance;
    }
}
